package com.traffic.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: KingRainGrey
 * Date: 2020/10/30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
/**
 * 查询返回包装数据
 */
public class QueryResult implements Serializable {

    private static final long serialVersionUID = -1245920092139297905L;

    /**
     * 数据
     */
    Object data;

    /**
     * 查询条件下数据总数目
     */
    Object total;

}
